package com.xbl.test2.hystrix;

import com.xbl.test2.api.Test1Remote;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author xbl
 * @Description
 * @date 2019/1/28
 */
@Component
public class Test1RemoteHystrix implements Test1Remote {

    @Override
    public String hello(@RequestParam(value = "name") String name) {
        return "hello "+name +" ,这个请求已经挂了";
    }
}
